package xyz.xtt.nft.entity;

import java.io.Serializable;
import java.util.Date;

import org.springframework.stereotype.Repository;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

@Data
@Repository
@TableName("tbl_user_chain_account")
public class UserChainAccount implements Serializable {
	private String id;

	private String userId;

	private String chainUserName;

	private String chainId;

	private String chainAccount;

	private String pubkey;

	private String prikey;

	private String mnemonicPhrase;

	private Integer state;

	private Long batchNum;

	private Date lastModifyDate;

	private static final long serialVersionUID = 1L;

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", id=").append(id);
		sb.append(", userId=").append(userId);
		sb.append(", chainUserName=").append(chainUserName);
		sb.append(", chainId=").append(chainId);
		sb.append(", chainAccount=").append(chainAccount);
		sb.append(", pubkey=").append(pubkey);
		sb.append(", prikey=").append(prikey);
		sb.append(", mnemonicPhrase=").append(mnemonicPhrase);
		sb.append(", state=").append(state);
		sb.append(", batchNum=").append(batchNum);
		sb.append(", lastModifyDate=").append(lastModifyDate);
		sb.append(", serialVersionUID=").append(serialVersionUID);
		sb.append("]");
		return sb.toString();
	}
}